package com.ruoyi.project.cms.pro.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.project.cms.pro.mapper.CmsImgTypeMapper;
import com.ruoyi.project.cms.pro.domain.CmsImgType;
import com.ruoyi.project.cms.pro.service.CmsImgTypeService;
/**
 *com.ruoyi.project.cms.pro.service
 *作者：lh
 描述:
 *时间:2020-05-20
 */
@Service
public class CmsImgTypeServiceImpl implements CmsImgTypeService{

    @Resource
    private CmsImgTypeMapper cmsImgTypeMapper;

    @Override
    public int deleteByPrimaryKey(Integer imgTId) {
        return cmsImgTypeMapper.deleteByPrimaryKey(imgTId);
    }

    @Override
    public int insert(CmsImgType record) {
        return cmsImgTypeMapper.insert(record);
    }

    @Override
    public CmsImgType selectByPrimaryKey(Integer imgTId) {
        return cmsImgTypeMapper.selectByPrimaryKey(imgTId);
    }

    @Override
    public int updateByPrimaryKey(CmsImgType record) {
        return cmsImgTypeMapper.updateByPrimaryKey(record);
    }

}
